from sympy import exp, diff, symbols

x = symbols('x')
y_exp = exp(2*x)

print("指数函数的高阶导数:")
for n in range(1, 5):
    deriv = diff(y_exp, x, n)
    print(f"y的{n}阶导数: {deriv}")